package com.iwhalecloud.uncc.model;

import java.io.Serializable;
import java.util.Date;

public class InsCollectService implements Serializable {

    private Long collServiceId;
    private String serviceCode;
    private Integer abstractId;
    private Integer componentId;
    private Date registerDate;
    private Date interruptTime;
    private String state;
    private String serviceName;
    private String specialty;
    private String vendor;
    private Integer provinceId;
    private Integer areaId;
    private String version;
    private String ip;
    private String port;
    private String cpuTotal;
    private String memoryTotal;
    private String diskTotal;
    private String heartbeatInterval;
    private String timeStamp;
    private String description;
    private String maxThreadNum;
    private String memoryStat;
    private String diskStat;
    private Date createDate;
    private Date updateDate;
    private String appName;
    private String title;
    private Integer seq;
    private Integer addressType;
    private String addressList;
    private String protocolNames;
    private String lastScheduleTimeStamp;

    public String getServiceCode() {
        return serviceCode;
    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public String getLastScheduleTimeStamp() {
        return lastScheduleTimeStamp;
    }

    public void setLastScheduleTimeStamp(String lastScheduleTimeStamp) {
        this.lastScheduleTimeStamp = lastScheduleTimeStamp;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getProtocolNames() {
        return protocolNames;
    }

    public void setProtocolNames(String protocolNames) {
        this.protocolNames = protocolNames;
    }

    public Integer getAbstractId() {
        return abstractId;
    }

    public void setAbstractId(Integer abstractId) {
        this.abstractId = abstractId;
    }

    public Integer getComponentId() {
        return componentId;
    }

    public void setComponentId(Integer componentId) {
        this.componentId = componentId;
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    public Long getCollServiceId() {
        return collServiceId;
    }

    public void setCollServiceId(Long collServiceId) {
        this.collServiceId = collServiceId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getCpuTotal() {
        return cpuTotal;
    }

    public void setCpuTotal(String cpuTotal) {
        this.cpuTotal = cpuTotal;
    }

    public String getMemoryTotal() {
        return memoryTotal;
    }

    public void setMemoryTotal(String memoryTotal) {
        this.memoryTotal = memoryTotal;
    }

    public String getDiskTotal() {
        return diskTotal;
    }

    public void setDiskTotal(String diskTotal) {
        this.diskTotal = diskTotal;
    }

    public String getHeartbeatInterval() {
        return heartbeatInterval;
    }

    public void setHeartbeatInterval(String heartbeatInterval) {
        this.heartbeatInterval = heartbeatInterval;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getMaxThreadNum() {
        return maxThreadNum;
    }

    public void setMaxThreadNum(String maxThreadNum) {
        this.maxThreadNum = maxThreadNum;
    }

    public String getMemoryStat() {
        return memoryStat;
    }

    public void setMemoryStat(String memoryStat) {
        this.memoryStat = memoryStat;
    }

    public String getDiskStat() {
        return diskStat;
    }

    public void setDiskStat(String diskStat) {
        this.diskStat = diskStat;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Integer getAddressType() {
        return addressType;
    }

    public void setAddressType(Integer addressType) {
        this.addressType = addressType;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getTitle() {
        return title;
    }

    public String getAddressList() {
        return addressList;
    }

    public void setAddressList(String addressList) {
        this.addressList = addressList;
    }

    public Date getInterruptTime() {
        return interruptTime;
    }

    public void setInterruptTime(Date interruptTime) {
        this.interruptTime = interruptTime;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        InsCollectService other = (InsCollectService) obj;
        if (!collServiceId.equals(other.collServiceId))
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        return collServiceId.hashCode();
    }
}
